<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Code Snippets</title>
<link rel="stylesheet" type="text/css" href="s/default/static/reset.css"> 
<link rel="stylesheet" type="text/css" href="s/default/static/fonts.css"> 
<link rel="stylesheet" type="text/css" href="s/default/static/grids.css"> 
<link rel="stylesheet" type="text/css" href="s/default/static/base.css"> 
<link rel="stylesheet" type="text/css" href="s/default/static/style.css">
</head>

<body>
<div id="doc3" class="yui-t5">
	<div id="hd">
		<h1>New Code Snippet</h1>
	</div>
	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
			
				<div class="new-snippet">
					<form action="/new" method="post">
						<table>
							<tr>
								<td><label>Title:</label></td>
							</tr>
							<tr>
								<td><input name="title" type="input" class="new-snippet-input" /></td>
							</tr>
							<tr>
								<td><label>Lanugage</label></td>
							</tr>
							<tr>
								<td>
								<select name="language">
									<option>cpp</option>
									<option>java</option>
									<option>xml</option>
									<option>python</option>
								</select>
								</td>
							</tr>
							<tr>
								<td><label>Code:</label></td>
							</tr>
							<tr>
								<td><textarea name="code" class="new-snippet-input" rows="10" ></textarea></td>
							</tr>
							<tr>
								<td><label>Comment:</label></td>
							</tr>
							<tr>
								<td><textarea name="comment" class="new-snippet-input" rows="10" ></textarea></td>
							</tr>
							<tr>
								<td>
									<input name="submit" type="submit" value="Submit" />
									<input name="cancel" type="button" value="Cancel" onclick="history.go(-1)" />
								</td>
							</tr>
						</table>
					</form>
				</div>
			
			</div>
		</div>
		
		<div class="yui-b">
			<h2>Sidebar</h2>
		</div>	
	</div>

	<div id="ft">
		<div id="license">
			<div style="float: left;">
				<a rel="license" href="http://creativecommons.org/licenses/by/2.5/cn/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/2.5/cn/88x31.png" /></a>		
			</div>
			<div style="margin-left: 95px;">
				This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/2.5/cn/">Creative Commons Attribution 2.5 China Mainland License</a>. <br />
				Maintained by cuiwenchao.com &copy; 2009 
			</div>
		</div>
	</div>

</div>

</body>
</html>
